package com.java.controller;

import com.java.entity.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/java")
public class TestController {
    @GetMapping("/test")
    public R test(){
        return R.ok("work");
    }
}
